PROJECT (MAPREDUCE)

IF (VTK_USE_MPI)
  INCLUDE_DIRECTORIES(${MPI_INCLUDE_PATH})
  ADD_DEFINITIONS("-DMPICH_IGNORE_CXX_SEEK")
  IF (MPI_LIBRARY)
    SET (mrmpi_LIBS "${MPI_LIBRARY}")
  ELSE (MPI_LIBRARY)
    MESSAGE("Could not find the required MPI libraries")
  ENDIF (MPI_LIBRARY)
  IF (MPI_EXTRA_LIBRARY)   
    SET(mrmpi_LIBS ${mrmpi_LIBS} "${MPI_EXTRA_LIBRARY}")   
  ENDIF (MPI_EXTRA_LIBRARY) 
ELSE (VTK_USE_MPI)
  SET (mrmpi_LIBS mpistubs)
  INCLUDE_DIRECTORIES(mrmpi ${VTK_SOURCE_DIR}/Utilities/mrmpi/mpistubs)
  ADD_SUBDIRECTORY (mpistubs)
ENDIF (VTK_USE_MPI)

ADD_SUBDIRECTORY (src)
#ADD_SUBDIRECTORY (examples)
